<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:include="common/common.html::common_css">
</head>
<script type="text/javascript" th:src="@{/static/js/jquery.min.js}"></script>
<script type="text/javascript" th:src="@{/static/js/jquery-3.1.1.js}"></script>
<script type="text/javascript" th:src="@{/static/js/addapart.js}"></script>
<body>
<div th:replace="common/admin_common.html::common_sidebar"></div>
<div class="page">
    <div th:replace="common/admin_common.html::common_navbar"></div>
    <!-- Breadcrumb-->
    <div class="breadcrumb-holder">
        <div class="container-fluid">
            <ul class="breadcrumb">
                <li class="breadcrumb-item"><a th:href="@{/admin/admin_index.html}">主页</a></li>
                <li class="breadcrumb-item"><a th:href="@{/admin/apartment_manage.html}">部门管理</a></li>
                <li class="breadcrumb-item active">添加部门信息</li>
            </ul>
        </div>
    </div>
    <section>
        <div class="container-fluid">
            <!-- Page Header-->
            <header>
                <h1 class="h3 display">添加部门信息</h1>
            </header>
            <div class="row">
                <div class="col-lg-6" style="flex:100%;max-width: 100%">
                    <div class="card">
                        <div class="card-header">
                            <h4>部 门</h4>
                        </div>
                        <div class="card-body">
                            <div class="table-responsive" style="overflow-x:visible">
                                <form class="text-left form-validate" th:action="@{/admin/apartment_add.html}" method="post">
                                    <div class="form-group-material">
                                        <input id="apartmentname" type="text"
                                               style="background-color: #fff !important;" name="apartmentname"
                                               class="input-material">
                                        <label for="apartmentname" class="label-material">部门名称</label>
                                        <span id="usernameInfo"></span>
                                    </div>
                                    <div class="form-group text-center" style="margin-top: 50px">
                                        <input id="register" style="border-radius: 4px;" type="submit" value="添加" class="btn btn-primary">
                                        <a th:href="@{/admin/apartment_manage.html}"
                                           type="button" class="btn btn-warning m-b-10 m-1-5"
                                           style="border-radius: 4px;margin-left: 50px">返回</a>
                                    </div>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <div th:replace="common/common.html::common_footer"></div>
</div>
<div th:replace="common/common.html::common_js">
</div>
</body>
</html>